<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: SystemSharp.Analysis.AsyncMethodCustomInstructionInfo Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SystemSharp.Analysis.AsyncMethodCustomInstructionInfo Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This class modifies the behavior of ILInstruction info in the context of calling asynchronous methods: It detects the code pattern "call get_IsCompleted; brtrue ...". In those cases, brtrue is not classified as a conditional branch but as either no branch or unconditional branch, depending on whether get_IsCompleted is assumed to return always true or always false.  
 <a href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for SystemSharp.Analysis.AsyncMethodCustomInstructionInfo:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.png" usemap="#SystemSharp.Analysis.AsyncMethodCustomInstructionInfo_map" alt=""/>
  <map id="SystemSharp.Analysis.AsyncMethodCustomInstructionInfo_map" name="SystemSharp.Analysis.AsyncMethodCustomInstructionInfo_map">
<area href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html" title="This class implements the classification service for CIL instructions " alt="SystemSharp.Analysis.ILInstructionInfo" shape="rect" coords="0,112,340,136"/>
<area href="interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4.html" title="An extended instruction information service, supporting information on instructions dealing with memo..." alt="SystemSharp.Analysis.IExtendedInstructionInfo&lt; Ti &gt;" shape="rect" coords="0,56,340,80"/>
<area href="interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4.html" title="Generic interface for services classifying instructions of some type " alt="SystemSharp.Analysis.IInstructionInfo&lt; Ti &gt;" shape="rect" coords="0,0,340,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a58fe8cf3edc5cb00069fc50f666fd27e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27e">EAssumption</a> { <a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27ea585e80929b2326ebc7a019a4217d5992">EAssumption.AlwaysCompleted</a>, 
<a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27ea6c22644f35a99d6e050694fecca36484">EAssumption.NeverCompleted</a>
 }</td></tr>
<tr class="memdesc:a58fe8cf3edc5cb00069fc50f666fd27e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assumption on IsCompleted property  <a href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27e">More...</a><br/></td></tr>
<tr class="separator:a58fe8cf3edc5cb00069fc50f666fd27e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0c01c527f7488f29f7cb26912cd32e71"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a0c01c527f7488f29f7cb26912cd32e71">AsyncMethodCustomInstructionInfo</a> (<a class="el" href="class_system_sharp_1_1_analysis_1_1_method_code.html">MethodCode</a> cfg, <a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27e">EAssumption</a> assumption)</td></tr>
<tr class="memdesc:a0c01c527f7488f29f7cb26912cd32e71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new instance based on a control-flow graph and an assumption on IsCompleted properties.  <a href="#a0c01c527f7488f29f7cb26912cd32e71">More...</a><br/></td></tr>
<tr class="separator:a0c01c527f7488f29f7cb26912cd32e71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad42fe45e85df6e3cfec3464a5023a368"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">EBranchBehavior</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#ad42fe45e85df6e3cfec3464a5023a368">IsBranch</a> (<a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">SDILReader.ILInstruction</a> i, out IEnumerable&lt; int &gt; targets)</td></tr>
<tr class="separator:ad42fe45e85df6e3cfec3464a5023a368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html">SystemSharp.Analysis.ILInstructionInfo</a></td></tr>
<tr class="memitem:a3baa87c36c25045bb25a7c60d192c3c1 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#a3baa87c36c25045bb25a7c60d192c3c1">ILInstructionInfo</a> (MethodBase mi)</td></tr>
<tr class="memdesc:a3baa87c36c25045bb25a7c60d192c3c1 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an instance based on a method or constructor  <a href="#a3baa87c36c25045bb25a7c60d192c3c1">More...</a><br/></td></tr>
<tr class="separator:a3baa87c36c25045bb25a7c60d192c3c1 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad535be766174a03e90faea73a7a17f3 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespace_system_sharp_1_1_analysis.html#a07cc6c00d393e2c4e350d74e0d9804c2">EInstructionClass</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#aad535be766174a03e90faea73a7a17f3">Classify</a> (<a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a> i)</td></tr>
<tr class="separator:aad535be766174a03e90faea73a7a17f3 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4776c6751de2e4ca89a2c9f044833095 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespace_system_sharp_1_1_analysis.html#a5ebdc38449ace206f5d7a926a47adb48">ELocalVariableAccess</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#a4776c6751de2e4ca89a2c9f044833095">IsLocalVariableAccess</a> (<a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a> i, out int localIndex)</td></tr>
<tr class="separator:a4776c6751de2e4ca89a2c9f044833095 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf5b6b5682c4833741565b54ded02315 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespace_system_sharp_1_1_analysis.html#a297a1358d9e61ee4fce1cae42d391a11">EInstructionResourceAccess</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#aaf5b6b5682c4833741565b54ded02315">UsesResource</a> (<a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a> i, out <a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a> resource)</td></tr>
<tr class="separator:aaf5b6b5682c4833741565b54ded02315 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abffbfbec87a1f2f4e63ea03e02941ca7 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">virtual IEnumerable<br class="typebreak"/>
&lt; <a class="el" href="class_system_sharp_1_1_analysis_1_1_reference_info.html">ReferenceInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#abffbfbec87a1f2f4e63ea03e02941ca7">GetIndirections</a> (<a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a> i, ControlFlowGraph&lt; <a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a> &gt; cfg)</td></tr>
<tr class="separator:abffbfbec87a1f2f4e63ea03e02941ca7 inherit pub_methods_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4.html">SystemSharp.Analysis.IExtendedInstructionInfo&lt; Ti &gt;</a></td></tr>
<tr class="memitem:aa692f19735c6d7981b861fe4b4a2280a inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4"><td class="memItemLeft" align="right" valign="top">IEnumerable&lt; <a class="el" href="class_system_sharp_1_1_analysis_1_1_reference_info.html">ReferenceInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4.html#aa692f19735c6d7981b861fe4b4a2280a">GetIndirections</a> (Ti i, ControlFlowGraph&lt; Ti &gt; cfg)</td></tr>
<tr class="memdesc:aa692f19735c6d7981b861fe4b4a2280a inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves all indirections which an instruction might undertake  <a href="#aa692f19735c6d7981b861fe4b4a2280a">More...</a><br/></td></tr>
<tr class="separator:aa692f19735c6d7981b861fe4b4a2280a inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_extended_instruction_info_3_01_ti_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4.html">SystemSharp.Analysis.IInstructionInfo&lt; Ti &gt;</a></td></tr>
<tr class="memitem:aff8fd393980da740d0915b098386a7bf inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_system_sharp_1_1_analysis.html#a07cc6c00d393e2c4e350d74e0d9804c2">EInstructionClass</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4.html#aff8fd393980da740d0915b098386a7bf">Classify</a> (Ti i)</td></tr>
<tr class="memdesc:aff8fd393980da740d0915b098386a7bf inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Classifies a given instruction into categories  <a href="#aff8fd393980da740d0915b098386a7bf">More...</a><br/></td></tr>
<tr class="separator:aff8fd393980da740d0915b098386a7bf inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a6ebd9e942e7babafc53eb0ddf47504 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">EBranchBehavior</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4.html#a2a6ebd9e942e7babafc53eb0ddf47504">IsBranch</a> (Ti i, out IEnumerable&lt; int &gt; targets)</td></tr>
<tr class="memdesc:a2a6ebd9e942e7babafc53eb0ddf47504 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Classifies an instruction into branch categories  <a href="#a2a6ebd9e942e7babafc53eb0ddf47504">More...</a><br/></td></tr>
<tr class="separator:a2a6ebd9e942e7babafc53eb0ddf47504 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab41f6bff365db8a040ca3514239ce0d8 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_system_sharp_1_1_analysis.html#a5ebdc38449ace206f5d7a926a47adb48">ELocalVariableAccess</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4.html#ab41f6bff365db8a040ca3514239ce0d8">IsLocalVariableAccess</a> (Ti i, out int localIndex)</td></tr>
<tr class="memdesc:ab41f6bff365db8a040ca3514239ce0d8 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Classifies an instruction into local variable access categories  <a href="#ab41f6bff365db8a040ca3514239ce0d8">More...</a><br/></td></tr>
<tr class="separator:ab41f6bff365db8a040ca3514239ce0d8 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbafabf8a7f4bc5f5212b0690d4f3409 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_system_sharp_1_1_analysis.html#a297a1358d9e61ee4fce1cae42d391a11">EInstructionResourceAccess</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4.html#afbafabf8a7f4bc5f5212b0690d4f3409">UsesResource</a> (Ti i, out <a class="el" href="interface_system_sharp_1_1_analysis_1_1_i_instruction_resource.html">IInstructionResource</a> resource)</td></tr>
<tr class="memdesc:afbafabf8a7f4bc5f5212b0690d4f3409 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Classifies an instruction into resource access categories  <a href="#afbafabf8a7f4bc5f5212b0690d4f3409">More...</a><br/></td></tr>
<tr class="separator:afbafabf8a7f4bc5f5212b0690d4f3409 inherit pub_methods_interface_system_sharp_1_1_analysis_1_1_i_instruction_info_3_01_ti_01_4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td colspan="2" onclick="javascript:toggleInherit('properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html">SystemSharp.Analysis.ILInstructionInfo</a></td></tr>
<tr class="memitem:a60820c9028a39339302f4aee1f347547 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">MethodBase&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#a60820c9028a39339302f4aee1f347547">Method</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a60820c9028a39339302f4aee1f347547 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="mdescLeft">&#160;</td><td class="mdescRight">The method or constructor for which the service is constructed  <a href="#a60820c9028a39339302f4aee1f347547">More...</a><br/></td></tr>
<tr class="separator:a60820c9028a39339302f4aee1f347547 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab37e7329b1b8e43390af1da4d66caa9b inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">MethodBody&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#ab37e7329b1b8e43390af1da4d66caa9b">Body</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab37e7329b1b8e43390af1da4d66caa9b inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="mdescLeft">&#160;</td><td class="mdescRight">The method body of the associated method or constructor  <a href="#ab37e7329b1b8e43390af1da4d66caa9b">More...</a><br/></td></tr>
<tr class="separator:ab37e7329b1b8e43390af1da4d66caa9b inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7acfc460cae05a64d626190e1ecc8a7 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#ab7acfc460cae05a64d626190e1ecc8a7">Instructions</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab7acfc460cae05a64d626190e1ecc8a7 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="mdescLeft">&#160;</td><td class="mdescRight">The instruction list of the associated method  <a href="#ab7acfc460cae05a64d626190e1ecc8a7">More...</a><br/></td></tr>
<tr class="separator:ab7acfc460cae05a64d626190e1ecc8a7 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74ccc27bb7cab945852a1fb23cd7df67 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#a74ccc27bb7cab945852a1fb23cd7df67">Marshal</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a74ccc27bb7cab945852a1fb23cd7df67 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="mdescLeft">&#160;</td><td class="mdescRight">The artificial exit instruction which serves as the single exit point of the method/constructor  <a href="#a74ccc27bb7cab945852a1fb23cd7df67">More...</a><br/></td></tr>
<tr class="separator:a74ccc27bb7cab945852a1fb23cd7df67 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac85c27409821e3c7e3ca45b7db07e675 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">ILInstruction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#ac85c27409821e3c7e3ca45b7db07e675">this[int offset]</a><code> [get]</code></td></tr>
<tr class="memdesc:ac85c27409821e3c7e3ca45b7db07e675 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the instruction at a specific bytecode offset  <a href="#ac85c27409821e3c7e3ca45b7db07e675">More...</a><br/></td></tr>
<tr class="separator:ac85c27409821e3c7e3ca45b7db07e675 inherit properties_class_system_sharp_1_1_analysis_1_1_i_l_instruction_info"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class modifies the behavior of ILInstruction info in the context of calling asynchronous methods: It detects the code pattern "call get_IsCompleted; brtrue ...". In those cases, brtrue is not classified as a conditional branch but as either no branch or unconditional branch, depending on whether get_IsCompleted is assumed to return always true or always false. </p>

<p>Definition at line <a class="el" href="_async_method_custom_instruction_info_8cs_source.html#l00037">37</a> of file <a class="el" href="_async_method_custom_instruction_info_8cs_source.html">AsyncMethodCustomInstructionInfo.cs</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a58fe8cf3edc5cb00069fc50f666fd27e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27e">SystemSharp.Analysis.AsyncMethodCustomInstructionInfo.EAssumption</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assumption on IsCompleted property </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a58fe8cf3edc5cb00069fc50f666fd27ea585e80929b2326ebc7a019a4217d5992"></a>AlwaysCompleted</em>&#160;</td><td class="fielddoc">
<p>IsCompleted is assumed to return always true. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a58fe8cf3edc5cb00069fc50f666fd27ea6c22644f35a99d6e050694fecca36484"></a>NeverCompleted</em>&#160;</td><td class="fielddoc">
<p>IsCompleted is assumed to return always false. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="_async_method_custom_instruction_info_8cs_source.html#l00042">42</a> of file <a class="el" href="_async_method_custom_instruction_info_8cs_source.html">AsyncMethodCustomInstructionInfo.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0c01c527f7488f29f7cb26912cd32e71"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SystemSharp.Analysis.AsyncMethodCustomInstructionInfo.AsyncMethodCustomInstructionInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_analysis_1_1_method_code.html">MethodCode</a>&#160;</td>
          <td class="paramname"><em>cfg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html#a58fe8cf3edc5cb00069fc50f666fd27e">EAssumption</a>&#160;</td>
          <td class="paramname"><em>assumption</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a new instance based on a control-flow graph and an assumption on IsCompleted properties. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cfg</td><td>a control-flow graph</td></tr>
    <tr><td class="paramname">assumption</td><td>whether the IsCompleted property is assumed to return always true or always false</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_async_method_custom_instruction_info_8cs_source.html#l00064">64</a> of file <a class="el" href="_async_method_custom_instruction_info_8cs_source.html">AsyncMethodCustomInstructionInfo.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad42fe45e85df6e3cfec3464a5023a368"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override <a class="el" href="namespace_system_sharp_1_1_analysis.html#ae5c60204e0a023c83ac9abaf2bf3c6e1">EBranchBehavior</a> SystemSharp.Analysis.AsyncMethodCustomInstructionInfo.IsBranch </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_d_i_l_reader_1_1_i_l_instruction.html">SDILReader.ILInstruction</a>&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out IEnumerable&lt; int &gt;&#160;</td>
          <td class="paramname"><em>targets</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="class_system_sharp_1_1_analysis_1_1_i_l_instruction_info.html#aa89a4b2f8aa49f208c598f1eab9c513b">SystemSharp.Analysis.ILInstructionInfo</a>.</p>

<p>Definition at line <a class="el" href="_async_method_custom_instruction_info_8cs_source.html#l00107">107</a> of file <a class="el" href="_async_method_custom_instruction_info_8cs_source.html">AsyncMethodCustomInstructionInfo.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_async_method_custom_instruction_info_8cs_source.html">AsyncMethodCustomInstructionInfo.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_system_sharp.html">SystemSharp</a></li><li class="navelem"><a class="el" href="namespace_system_sharp_1_1_analysis.html">Analysis</a></li><li class="navelem"><a class="el" href="class_system_sharp_1_1_analysis_1_1_async_method_custom_instruction_info.html">AsyncMethodCustomInstructionInfo</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:50 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
